{if $arrPublic}
    <div class="boxOffline">
        <div class="headerTitle">
        	<h3>Off cộng đồng</h3>
            {if $intTotal > $smarty.const.OFFLINE_LIMIT}
            	<span><a href="{$smarty.const.LINK_OFFLINE_PUBLIC}">Xem thêm</a></span>
            {/if}
       	</div>
        <div class="offlineItem">        
            <ul>
                {foreach key=i item=item from=$arrPublic}
                    <li{if $i==0} class="firstChild"{/if}>
                        {include file="offline/box-item.tpl"}
                    </li>  
                {/foreach}   
            </ul>    
        </div>
    </div>
{/if}